.container {
	background-color: $bg-color-white;
	display: flex;
	flex-direction: column;
.u-drawer__scroll-view{
    width: 100%;
    height: 100%;
    background: #F7F7F7!important;
}
	.center {
		height: 130rpx;
		padding: 0rpx 24rpx;
		display: flex;
		flex-direction: column;

		.store {
			display: flex;
			align-items: center;
			justify-content: space-between;

			.title {
				flex: 1;
				display: flex;
				align-items: center;
				font-size: $font-size-lg;
				color: $text-color-base;
				font-weight: bold;
				overflow: hidden;

				.address {
					margin-left: 16upx;
				}

				.left-icon {
					flex-shrink: 0;
					width: 24upx;
					height: 26upx;
					// margin: 10rpx;
				}

				.right-icon {
					flex-shrink: 0;
					width: 40rpx;
					height: 40rpx;
					display: flex;
				}
			}

			.buttons {
				display: flex;
				align-items: stretch;
				background-color: #f6f6f6;
				border-radius: 50rem !important;
				padding: 4rpx;
				border: 2rpx solid #eaeaea;

				.button {
					height: 100%;
					width: 50%;
					border-radius: 50rem !important;
					border: 0 !important;
					font-size: $font-size-sm !important;
					line-height: 2.4 !important;

					&.active {
						background-color: #343434;
						color: #ffffff !important;
						transition: all 0.3s;
					}
				}
			}
		}

		.location {
			margin-left: 10upx;
			display: flex;
			align-items: center;
			image {
				width: 32upx;
				height: 32upx;
			}
			& > view:nth-child(2) {
				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: $color1-error;
				margin-left: 9upx;
			}
		}
	}

	// 公告
	.notices {
		height: 50rpx;
		display: flex;
		align-items: stretch;
		padding: 0upx 24upx;
		font-size: $font-size-sm;
		color: $text-color-assist;

		.image {
			width: 30rpx;
			height: 30rpx;
			margin-top: 12upx;
		}

		.swiper {
			height: 100%;
			flex: 1;

			.swiper-item {
				width: 100%;
				height: 100%;
				display: flex;
				overflow: hidden;
				align-items: center;
				.image {
					width: 32upx;
					height: 34upx;
					display: flex;
				}
				.content {
					flex: 1;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					margin-left: 10upx;
				}
			}
		}
	}

	// 点单
	.recommended {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 30upx 57upx 20upx 0upx;

		& > view:nth-child(1) {
			width: 60%;

			/deep/.u-tab-bar {
				background-color: #ff5f2f !important;
			}
		}

		& > view:nth-child(2) {
			width: 20%;
			display: flex;
			align-items: center;
			height: 50upx;
			background: rgba(247, 247, 247, 1);
			border-radius: 25upx;
			justify-content: center;

			& > view:nth-child(1) {
				margin-right: 11upx;
			}

			& > view:nth-child(2) {
				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: rgba(101, 101, 101, 1);
			}
		}
	}

	// 优惠弹出层
	.nav {
		padding: 47upx 25upx 47upx 25upx;

		& > view:nth-child(1) {
			font-size: 40upx;
			font-family: Source Han Sans CN;
			font-weight: bold;
			color: #000000;
			text-align: center;
		}

		& > view:nth-child(2) {
			font-size: 28upx;
			font-family: Source Han Sans CN;
			font-weight: bold;
			color: #000000;
			margin-top: 48upx;
		}

		& > view:nth-child(3) {
			background: linear-gradient(90deg, #fee7b5 0%, #f9d692 100%);
			border-radius: 20upx;
			padding: 53upx 30upx 50upx 55upx;
			position: relative;
			margin-top: 23upx;
			& > view:nth-child(1) {
				display: flex;
				align-items: center;
				justify-content: space-between;
				& > view:nth-child(1) {
					display: flex;
					align-items: center;
					& > view:nth-child(1) {
						font-size: 28upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #8b521d;
					}
					& > view:nth-child(2) {
						margin-left: 7upx;
						font-size: 56upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #8b521d;
					}
				}
				// 店铺红包
				& > view:nth-child(2) {
					margin-left: 67upx;
					& > view:nth-child(1) {
						font-size: 32upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #333333;
					}
					& > view:nth-child(2) {
						margin-top: 16upx;
						font-size: 26upx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #b98766;
					}
				}
				& > view:nth-child(3) {
					width: 126upx;
					height: 64upx;
					background: linear-gradient(90deg, #e5af6b 0%, #b6752b 100%);
					border-radius: 32upx;

					font-size: 26upx;
					font-family: Source Han Sans CN;
					font-weight: bold;
					color: #ffffff;
					display: flex;
					align-items: center;
					justify-content: center;
				}
			}
			& > view:nth-child(2) {
				background: url(../../static/images/common/yuanx.png) no-repeat;
				background-size: 100%100%;
				width: 156upx;
				height: 36upx;

				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #ffedb5;
				display: flex;
				align-items: center;
				justify-content: center;
				position: absolute;
				top: 0;
				left: 16upx;
			}
		}
		// 222222222
		& > view:nth-child(4) {
			background: #ffffff;
			border-radius: 20upx;
			padding: 53upx 30upx 50upx 55upx;
			margin-top: 23upx;
			position: relative;
			& > view:nth-child(1) {
				display: flex;
				align-items: center;
				justify-content: space-between;

				& > view:nth-child(1) {
					display: flex;
					align-items: center;
					& > view:nth-child(1) {
						font-size: 28upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #ff5f2f;
					}
					& > view:nth-child(2) {
						margin-left: 7upx;
						font-size: 56upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #ff5f2f;
					}
				}
				// 店铺红包
				& > view:nth-child(2) {
					margin-left: 67upx;
					& > view:nth-child(1) {
						font-size: 32upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #333333;
					}
					& > view:nth-child(2) {
						margin-top: 16upx;
						font-size: 26upx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #b98766;
					}
				}
				& > view:nth-child(3) {
					width: 126upx;
					height: 64upx;
					background: #ff5f2f;
					border-radius: 32upx;

					font-size: 26upx;
					font-family: Source Han Sans CN;
					font-weight: bold;
					color: #ffffff;
					display: flex;
					align-items: center;
					justify-content: center;
				}
				.chang {
					background: url(../../static/images/common/yinzhang.png) no-repeat;
					background-size: 100%100%;
					width: 125upx;
					height: 105upx;
					position: relative;
					right: -20upx;
					bottom: -40upx;
					font-size: 28upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #bbbbbb;
					display: flex;
					align-items: center;
					justify-content: center;
				}
			}
		}

		// 优惠活动
		.Favourable {
			margin-top: 51upx;
			& > view:nth-child(1) {
				font-size: 28upx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #000000;
			}
			// 满减
			.reduction {
				display: flex;
				// justify-content: space-between;
				align-items: center;
				margin-top: 25upx;
				& > view:nth-child(1) {
					width: 15%;
					height: 32upx;
					border: 1upx solid #f3d8db;
					border-radius: 8upx;

					font-size: 20upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #ff5f2f;
					display: flex;
					align-items: center;
					justify-content: center;
				}
				& > view:nth-child(2) {
					width: 80%;
					font-size: 26upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #666666;
					margin-left: 7upx;
				}
			}
		}
		// 公告
		.announcement {
			margin-top: 52upx;
			& > view:nth-child(1) {
				font-size: 28upx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #000000;
			}
			& > view:nth-child(2) {
				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #666666;
				line-height: 36upx;
				margin-top: 27upx;
			}
		}
		// 门店信息
		.Stores {
			margin-top: 52upx;
			& > view:nth-child(1) {
				font-size: 28upx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #000000;
			}
			& > view:nth-child(2) {
				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #656565;
				margin-top: 30upx;
			}
			& > view:nth-child(3) {
				font-size: 24upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #656565;
				margin-top: 23upx;
			}
			& > view:nth-child(4) {
				display: flex;
				align-items: center;
				// justify-content: space-between;
				margin-top: 24upx;
				& > view:nth-child(1) {
					width: 20%;
					font-size: 24upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #656565;
				}
				& > view:nth-child(2) {
					width: 50%;
					font-size: 24upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #656565;
				}
				& > view:nth-child(3) {
					display: flex;
					align-items: center;
					& > view:nth-child(1) {
						width: 58upx;
						height: 58upx;
						background: #f1f3f5;
						border-radius: 50%;
						display: flex;
						align-items: center;
						justify-content: center;
						image {
							width: 30upx;
							height: 30upx;
						}
					}

					& > view:nth-child(2) {
						background: url(../../static/images/common/yunx.png) no-repeat;
						background-size: 100%100%;
						width: 48upx;
						height: 28upx;
						font-size: 18upx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #ff6030;
						display: flex;
						align-items: center;
						justify-content: center;
						margin-top: -40upx;
					}
				}
				& > view:nth-child(4) {
					width: 58upx;
					height: 58upx;
					background: #f1f3f5;
					border-radius: 50%;
					margin-top: 10upx;
					display: flex;
					align-items: center;
					justify-content: center;
					image {
						width: 40upx;
						height: 40upx;
					}
				}
			}
		}
	}

	//    .goodstoload{

	// }
}

.main {
	flex: 1;
	display: flex;
	overflow: hidden;
}

.menu-bar {
	width: 148upx;
	background-color: #f6f6f6;

	.wrapper {
		height: auto;

		.menu-item {
			padding: 30rpx 20rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			font-size: $font-size-base;
			color: $text-color-assist;
			overflow: hidden;

			&:nth-last-child(1) {
				margin-bottom: 100rpx;
			}

			.image {
				width: 50rpx;
				height: 50rpx;
			}

			.title {
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				
				
			}

			&.active {
				background-color: #ffffff;
				color: $text-color-base;
				font-size: 26upx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #333333;
				border-radius: 0px 20upx 20upx 0px;
			}
		}
	}
}
// 商家推荐
.recomm {
	padding: 24upx 24upx 24upx 24upx;
	height: 60vh;
	overflow-y: auto;
	.wrap {
		image {
			width: 100%;
			height: 180upx;
		}
	}
}
// 商品列表
.goodsList {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 21upx;
	.goodsTwo {
		width: 48%;
		height: 48%;
		padding-bottom: 10upx;
		& > view:nth-child(2) {
			padding: 27upx 21upx 32upx 21upx;
			& > view:nth-child(1) {
				font-size: 30upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
			}
			.Dairy {
				font-size: 20upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #bbbbbb;
				margin-top: 21upx;
			}
			.plice {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-top: 20upx;
				& > view:nth-child(1) {
					font-size: 32upx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #ef3031;
				}
			}
		}
	}
}
.product-section {
	flex: 1;
	width: 80%;
	padding: 0 24upx;
	position: relative;
	.AccordingAll {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.3);
		z-index: 9999;
	}
	// 展开全部
	.allshow {
		width: 100%;
		background: #ffffff;
		position: absolute;
		top: 0;
		z-index: 999;
		padding: 48upx 20upx 48upx 20upx;
		transition: all 0.3s linear;
		& > view:nth-child(1) {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 26upx 0upx 0upx;
			.chooseImg {
				width: 30upx;
				height: 27upx;
			}
		}
	}
	& > view:nth-child(1) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		& > view:nth-child(1) {
			width: 80%;
		}
		.chooseRight {
			display: flex;
			align-items: center;
			justify-content: space-between;
			& > view:nth-child(1) {
				font-size: 26upx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
			}

			.chooseImg {
				width: 30upx;
				height: 27upx;
			}
		}
	}
	.wrapper {
		// padding: 0 22upx;
		padding-bottom: 300upx;
		overflow: auto;
		// height: 55vh;
	}

	.ads1,
	.ads2 {
		height: 300rpx;
	}

	.ads1 {
		margin-bottom: 20rpx;
	}

	.products-list {
		&>view:nth-child(1){
			
			font-size: 24upx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #343434;
			height: 64upx;
		}
		.category-name {
			padding: 30rpx 0;
			font-size: $font-size-base;
			color: $text-color-assist;
		}

		.products {
			display: flex;
			flex-direction: column;
			margin-bottom: $spacing-row-base;
		}

		.product {
			display: flex;
			align-items: center;
			margin-bottom: 40rpx;
			justify-content: space-between;

			position: relative;

			.image {
				width: 198upx !important;
				height: 198upx !important;
				display: flex;
			}

			.content {
				flex: 1;
				display: flex;
				flex-direction: column;
				margin-left: 20upx;

				.name {
					font-size: 30upx;
					font-family: Source Han Sans CN;
					font-weight: bold;
					color: rgba(51, 51, 51, 1);
					margin-bottom: 8rpx;
				}

				.labels {
					display: flex;
					font-size: 20rpx;
					margin-bottom: 8rpx;
					overflow: hidden;
					flex-wrap: wrap;

					.label {
						max-width: 40%;
						padding: 6rpx 10rpx;
						margin-right: 10rpx;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
					}
				}

				.description {
					margin-bottom: 20rpx;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
					overflow: hidden;
					color: $text-color-assist;
					font-size: $font-size-sm;
				}

				.price {
					font-size: $font-size-extra-lg;
					color: $font-size-base;
					font-weight: bold;
					display: flex;
					align-items: center;
					justify-content: space-between;

					& > view:nth-child(1) {
						& > view:nth-child(1) {
							font-size: 24upx;
							font-family: Source Han Sans CN;
							font-weight: 400;
							color: rgba(153, 153, 153, 1);
						}

						& > view:nth-child(2) {
							font-size: 28upx;
							font-family: Source Han Sans CN;
							font-weight: 400;
							color: rgba(239, 48, 50, 1);
							margin-top: 10upx;
						}
					}

					& > view:nth-child(2) {
						margin-top: 41upx;
					}
				}
			}
		}
	}
}
